﻿namespace Alipay沙箱支付.Web
{
    /// <summary>
    /// 支付宝开发者平台：  https://open.alipay.com/platform/home.htm  ,请使用真实的支付宝扫一扫登录。
    /// </summary>
    public class AlipayConfig
    {
        // 应用ID,APPID ，数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-基本信息-APPID
        public static string AppId = "9021000137671294";

        // 支付宝网关, 数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-开发信息-支付宝网关地址
        public static string GatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

        // 商户私钥，原始格式RSA私钥, 数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-开发信息-公钥模式-查看-应用私钥-非JAVA语言，复制私钥，即可
        public static string PrivateKey = "MIIEpAIBAAKCAQEAmUfmU0LPU0RAdZrisizLYsFGHgGMw9KrYRVghjFdptu37L1fTVgEKzO2iu7NgwIOs9B46U0OeiKklmspj2yLHabsR6mmBvpAP/Ih4pqXum3AmV6GdU9zu085QE9qZ1PV6S4TCMtBdWD1lTWSuVyb9AvvYz6qNkTVSOH52n+M41cEtXLO64gd9ugWv21jDaJbUOgNSnBDVs/1ftTltVR3X0MWw8EhXuD4NtjDBQce7I0iIgoC+vg0NsXR8eSzUnaojY6CbzH9hSVlgw1JMOKq/0PWSSz4k8JiigOOfocQYezdOuCHZVan+ur8N6YeBnVViSmZFUVm6yFw8KC6r+JKqwIDAQABAoIBAQCMWqPy1ZhWXIbRqXOvRwktcmCsFSs6HGvFR/fMqONiaIqwAm+DuPaIQKAD88rHDVk9GcW9i0uYVqRy/8lchT2Vd0WgER3wAbJXW3Xfs0L/+IOFbGKehJQqjc6UrqN13fRfwkq3oLZdrtzxNc8WYFCFVXBsZfMiIkFSrWlFw8nUWGY7tiRAJSHvURTws0I+Sy+zhGRp8gBy5P5xYUijhCbSxhusEda5rDD3WKAgXb46iYAa5EgVEGGs14YY7f59vk+i4PpcaEDpVVR6OKA4Q2EDWqFfhRf786czbeTZ2uLdMWaL2ZNojE+MWAiVHSrSEOTjACwlI2rYPD9F/E+I9cKxAoGBAPDzqFwwEwjoc3dJHRFIpeaI+U9KQzpJuyAyGtNiZQd9fGVzNVBEnxRSkszN7A+yFsaH/iUbnSAxcngglljlVibC6PgsKJmrF6qmmb/ORL8LJNVV00hTfkt+Bj8uIElMhNVK+uMWHtNmuUbyswLaHG+9j6ax6ijz21mZzF8NhSoPAoGBAKLajq6q7wUd78eqW4jr8f7+tQHNZpcG3S6v3Du3prFIm3fTa1Lq7U1W7UZZ7MwDRUMwtbCy5N2MQK3UU3MCAWKek6KFTSlz3aukYifAMlQvUSjjSGNMGe3Ot5gpHPcMuEH3QEMuf9kL++bi0z+Oe4ZMTysTut4nbojWlGESeeGlAoGAAgHlqy7zWaWmIJ5JUbWLPEpz2UdDHB81IeWI963gLZnMCYRWM17+/Epb0rz8dH0FV44WffSm8He4/ms3FXKDrzr8eeTUScN1JQTSTxjG1dif6+8VHYskiDh6kNgviKzMhoJjaLTseNJoRMEM4L80cXHg2oCs9L5jW3G+lCQmsd0CgYBLfJdqq10DuC6vFG49d3DCy/nHDhihpNLdkzK4k5Y20vsNffhfhPneQY7Wb1Rt9I4kaO2vLB0d/Kb2bFcKFkHiHrM8QCHWNxjnONkup84sa4ppM4EYVewm6Qz9AQGmGkVGfn9RJLqqNv3atgVJjpf/VlvUEd8qnoiD8ULyBAhu6QKBgQDMUNP9pKJVBqjCEMyTuCexwYYtzrSEf4vch0ieZ/C8iL1yPgVm4D7GuQPTvc4u7z6BDVUIS1py454d0m2qo69Rr1vDZdzy8rQQRYMC50AIrJZVz/ArofTQvs/HZqxEIkhS7d+HnzeNAwTWKZSfSTFEuKJ/W7uY3dK9HUNEaEvOqw==";

        // 支付宝公钥, 数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-开发信息-公钥模式-查看-支付宝公钥-复制公钥，即可
        public static string AlipayPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl3vThW9Kp8Z1a25BNPfXzAVLgAL2xER5WrhZu9n/B55CxGUT/RLqOem99F1abIxi9kWZ7ZUgyjdtmpT0N6gRnupEl7C6uFy6NMtoHt7muhUPmCxxHiVNh2X5L+6GWQeAZMl6JdcJI0rzzBjv7Zh1/KPlETaqsFApQcT/VlfVWvqfrZSHdr3wPIcBhmmIfu37OddfRDJ2SekRNRdDBug9uIj9WEIgvnKE1waWRqgxEZynx5fP00HvgcMCkvicyZLhddKYGQEsJpnLSflaXMkSahIbsD1HAWOJDAIOjksibDh8mRHn8oO6LjX4GKqHTDKY9+awjY4I2LM1zkwgCyu8dQIDAQAB";

        // 签名方式
        public static string SignType = "RSA2";

        // 编码格式
        public static string CharSet = "UTF-8";

        public static string Format = "json";

    }
}
